package com.kingdee.eas.zssh.project.app;

import org.apache.log4j.Logger;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.util.app.ContextUtil;
import com.kingdee.eas.xinrui.publicbill.AuditStateEnum;
import com.kingdee.eas.zssh.project.AssignmentBillInfo;
import com.kingdee.eas.zssh.project.BusinessFeeInfo;

public class BusinessFeeControllerBean extends AbstractBusinessFeeControllerBean
{
    private static Logger logger =
        Logger.getLogger("com.kingdee.eas.zssh.project.app.BusinessFeeControllerBean");
   protected IObjectPK _submit(Context ctx, IObjectValue model)throws BOSException, EASBizException {
	   BusinessFeeInfo info = (BusinessFeeInfo)model;
	   info.setState(AuditStateEnum.audited);
	   info.setAuditor(ContextUtil.getCurrentUserInfo(ctx));
	  return super._submit(ctx, model);
    }
}